package com.open4a.openstudy.common;

/**
 * Created by yangkuo02 on 2017/6/5.
 */

public final class Parameters {

    public static final String APP_ID = "nMksFVW3jkjhN2PJpeyr";
    public static final String APP_KEY = "8ZZQo91W5p90pAqo62RsaRMeRb4CPsVx";
    public static final String REDIRECT_URI = "https://my.oschina.net/u/3516166";

    public static final String OAUTH_URL = "https://www.oschina.net/action/oauth2/authorize?response_type=code&client_id=" + APP_ID + "&redirect_uri=" + REDIRECT_URI;
    public static final String OSCHINA_URL = "https://www.oschina.net";
    public static final String PATH_OAUTH2_TOKEN = "/action/openapi/token";
    public static final String PATH_NEWS_LIST = "/action/openapi/news_list";
    public static final String PATH_NEWS_DETAIL = "/action/openapi/news_detail";

    public static final int NEWS_CATALOG_ALL = 1;
    public static final int NEWS_CATALOG_COMPREHISIVE = 2;
    public static final int NEWS_CATALOG_SOFTWARE = 3;
}
